<admintpl file="header" />
<style>
.home_info li em {
	float: left;
	width: 120px;
	font-style: normal;
}
li {
	list-style: none;
}
</style>
</head>
<body>
    <if condition="sp_get_current_adminrole_id() lt 9" >
    <div class="wrap">
        <h4 class="well">{:L('SYSTEM_INFORMATIONS')}</h4>
        <div class="home_info">
                <ul>
                        <volist name="server_info" id="vo">
                                <li><em>{$key}</em> <span>{$vo}</span></li>
                        </volist>
                </ul>
        </div>
    </div>
    </if>
    <if condition="sp_get_current_adminrole_id() eq 10 && !sp_get_current_adminug_id()" >
    <div class="wrap">
        <h4 class="well">提示</h4>
        <div class="home_info">
                <ul>
                   <li>您不属于任何小组。请<a href="{:U('User/Usergroup/add')}">创建小组</a></li>
                </ul>
        </div>
    </div>
    </if>
    <if condition="sp_get_current_adminrole_id() eq 20 && sp_get_current_adminug_id()" >
    <div class="wrap">
        <h4 class="well">提示</h4>
        <div class="home_info">
                <ul>
                   <li>请<a href="{:U('User/Usergroup/add')}">创建分组</a></li>
                </ul>
        </div>
    </div>
    </if>
    <if condition="sp_get_current_adminrole_id() gt 9 && sp_get_current_adminug_id()" >
    <div class="wrap">
        <h4 class="well">小组信息</h4>
        <div class="home_info">
            <ul>
                <li><em>小组名称</em> <span> {$ugroup.name} </span></li>
                <li><em>小组说明</em> <span> {$ugroup.explanation} </span></li>
                <li><em>创建时间</em> <span> {$ugroup.create} </span></li>
                <li><em>小组人数</em> <span> {$count} 人</span></li>
                <li><em>小组LOGO</em> <span> <if condition="$ugroup['logo']"><img src="{:C('IMG_PATH')}{$ugroup['logo']}" width="64"/></if></span> </li>
                <li><em>操作</em> <span> <a href="{:U('User/Usergroup/edit',array('id'=>sp_get_current_adminug_id()))}">修改小组</a></span> </li>
            </ul>
        </div>
    </div>
    </if>
    <script src="__PUBLIC__/js/common.js"></script>
</body>
</html>